package com.digitalbuana.smiles.activity;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

import com.digitalbuana.smiles.R;
import com.digitalbuana.smiles.data.account.SavedStatus;
import com.digitalbuana.smiles.data.intent.AccountIntentBuilder;
import com.digitalbuana.smiles.ui.helper.ManagedActivity;

public class ProfileSettingsActivity extends ManagedActivity 
implements OnClickListener
{
	private static final String SAVED_TEXT = "com.digitalbuana.smiles.activity.StatusEditor.SAVED_TEXT";
	private static final String SAVED_MODE = "com.digitalbuana.smiles.activity.StatusEditor.SAVED_MODE";

	static final public int OPTION_MENU_CLEAR_STATUSES_ID = 1;

	static final public int CONTEXT_MENU_SELECT_STATUS_ID = 10;
	static final public int CONTEXT_MENU_EDIT_STATUS_ID = 11;
	static final public int CONTEXT_MENU_REMOVE_STATUS_ID = 12;
	
	private String account;
	private SavedStatus actionWithItem;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		if (isFinishing())
			return;
		actionWithItem = null;
		setContentView(R.layout.activity_profile_settings);
	}
	
	@Override
	public void onClick(View arg0) {
		// TODO Auto-generated method stub
		
	}
	
	public static Intent createIntent(Context context) {
		return ProfileSettingsActivity.createIntent(context, null);
	}
	public static Intent createIntent(Context context, String account) {
		return new AccountIntentBuilder(context, ProfileSettingsActivity.class).setAccount(account).build();
	}
	private static String getAccount(Intent intent) {
		return AccountIntentBuilder.getAccount(intent);
	}

}
